home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Network Support Library
/
RoseWare - Network Support Library.iso
/
unix
/
gwy160.exe
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1993-09-30
|
3KB
|
101 lines
@echo off
if %1$ == $ echo **************************************************************
if %1$ == $ echo . Usage : install NetWare_drive
if %1$ == $ echo .
if %1$ == $ echo . Example : install f:
if %1$ == $ echo .
if %1$ == $ echo . NetWare_drive = Network drive mapped to SYS: on server
if %1$ == $ echo **************************************************************
if %1$ == $ goto exit
@echo off
echo .*************************************************************************
echo . I M P O R T A N T
echo .
echo .This patch updates the NFS Gateway v1.1 product for NetWare 3.1x ONLY!!!
echo .
echo . You need approximately 3 MB of disk space to apply this patch.
echo .
echo .*************************************************************************
echo .
echo .
yesno " Do you want to continue with the patch? [y/n] "
if errorlevel 1 goto exit
echo .
echo . Copying files to local directory
echo .
copy %1\system\nfsgw.nlm
copy %1\system\nisdmag.nlm
echo .
echo . Updating Files
echo .
patch /nos /nop ptf-f160
echo .
echo . If you continue, patched files will be copied back to the server.
echo .
echo .
yesno " Do you want to continue with the patch? [y/n] "
if errorlevel 1 goto exit
echo .
echo . Copying files back to server : phase 1
echo .
flag %1\system\nfsgw.nlm rw > nul
flag %1\system\nisdmag.nlm rw > nul
echo .
echo . Copying files back to server : phase 2
echo .
copy nfsgw.nlm %1\system\nfsgw.nlm > nul
copy nisdmag.nlm %1\system\nisdmag.nlm > nul
echo .
echo . Copying files back to server : phase 3
echo .
flag %1\system\nfsgw.nlm ros > nul
flag %1\system\nisdmag.nlm ros > nul
echo .
echo .
echo . If you are running the NFS Gateway software on a NetWare 3.11
echo . server, you do NOT need to install the NetWare 3.12
echo . NFSSHIM.NLM module.
echo .
echo . If you are running the NFS Gateway software on a NetWare 3.12
echo . server, you DO need to install the NetWare 3.12
echo . NFSSHIM.NLM module.
echo .
yesno " Do you want to install NFSSHIM.NLM for NetWare 3.12? [y/n] "
if errorlevel 1 goto part4
ncopy %1\system\nfsshim.nlm %1\system\nfsshim.sav > nul
flag %1\system\nfsshim.nlm rw > nul
copy nfsshim.nlm %1\system\nfsshim.nlm > nul
flag %1\system\nfsshim.nlm ros > nul
:part4
echo . ***********************************************************************
echo . The patch is now complete. To run the patched software, you now must
echo . restart the NFS Gateway services.
echo .
echo . Enter these commands at the server console: NFSSTOP
echo . DOWN
echo . EXIT
echo .
echo . SERVER
echo .
echo . ***********************************************************************
:exit
exit